import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from '@/router/index.js'

import '@/utils/common-components/index.js'

import '@/mock/shenXian/product/index'
import '@/mock/shenXian/home/index'
import '@/mock/shenXian/order/index'
import '@/mock/shenXian/login/index'

import 'normalize.css'
import '@/assets/css/base.css'
import '@/assets/css/common.css'

const app = createApp(App)
app.use(ElementPlus)
app.use(router)
app.mount('#app')



// 如果想看vue3 官网练习，就解开下面的代码 , 同时注销上面的相似代码
// import AppCopy from './AppCopy.vue'
// const appcopy = createApp(AppCopy)
// appcopy.use(ElementPlus)
// appcopy.mount('#app')


/**
 * import { ref } from 'vue'
 * nextTick reactive defineProps defineEmits defineExpose 
 * computed onMounted onUpdated onUnmounted watch watchEffect
 * **/ 